import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;

import javax.crypto.BadPaddingException;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.NoSuchPaddingException;


public class MilitaryEncryption extends Encryption {
	
	public MilitaryEncryption(){
		imp=new Aes();
	}

	@Override
	public String encrypt(String string, Ciphers.CryptoKey key) {
		String result = imp.encryptWord(string, key);
		return result;
	}

	@Override
	public String decrypt(String string, Ciphers.CryptoKey key) {
        String result = imp.decryptWord(string, key);
		return result;
	}
	
	
	
	

}
